package service;

import dao.StudentDao;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service("studentService")
public class StudentService {
    @Resource(name="studentDaoImp")
    private StudentDao studentDao;
    public void deleteStu(){
        studentDao.deleteById();
    }
}
